﻿namespace Dcms.IDAL
{
    using Dcms.Model;
    using System;
    using System.Collections.Generic;
    using System.Data;

    public interface IDcms_PositionDAL
    {
        Dcms_PositionModel AddModel(Dcms_PositionModel model);
        bool DeleteAllCheck(string AllID);
        void DeleteModelByID(int ID);
        string GetDataCount(string SqlStr);
        IList<Dcms_PositionModel> GetDataListByPage(string SqlStr, int CurPage, int PageSize);
        Dcms_PositionModel GetModelByID(int ID);
        DataSet GetModelList();
        Dcms_PositionModel GetNewModelByCatID(int CatID);
        Dcms_PositionModel Update(Dcms_PositionModel model);
        void UpDateCount(int ID);
        bool UpdateState(string AllID, int StateValue);
    }
}

